import 'dart:convert';

import 'package:enterprise_v6_app/generated/json/base/json_field.dart';
import 'package:enterprise_v6_app/generated/json/standard_scence_safe_third_work_entity.g.dart';

export 'package:enterprise_v6_app/generated/json/standard_scence_safe_third_work_entity.g.dart';

@JsonSerializable()
class StandardScenceSafeThirdWorkEntity {

	StandardScenceSafeThirdWorkEntity();

	factory StandardScenceSafeThirdWorkEntity.fromJson(Map<String, dynamic> json) => $StandardScenceSafeThirdWorkEntityFromJson(json);
	List<StandardScenceSafeThirdWorkAmendmentList>? amendmentList;
	String? checkDate;
	String? checkPerson;
	String? companyCode;
	String? createBy;
	String? createById;
	String? createDate;
	String? deleted;
	String? fileAddressUrl;
	String? id;
	String? phone;
	String? thirdPartName;
	String? updateBy;
	String? updateById;
	String? updateDate;
	String? workAreaPerson;
	String? workPoint;
	String? workTimeBegin;
	String? workTimeEnd;

	Map<String, dynamic> toJson() => $StandardScenceSafeThirdWorkEntityToJson(this);

	@override
	String toString() {
		return jsonEncode(this);
	}
}

@JsonSerializable()
class StandardScenceSafeThirdWorkAmendmentList {

	StandardScenceSafeThirdWorkAmendmentList();

	factory StandardScenceSafeThirdWorkAmendmentList.fromJson(Map<String, dynamic> json) => $StandardScenceSafeThirdWorkAmendmentListFromJson(json);
	String? amendmentDate;
	String? amendmentUser;
	String? companyCode;
	String? correlationId;
	String? createBy;
	String? createById;
	String? createDate;
	String? deleted;
	String? fileAddressUrl;
	String? id;
	String? sort;
	String? updateBy;
	String? updateById;
	String? updateDate;

	Map<String, dynamic> toJson() => $StandardScenceSafeThirdWorkAmendmentListToJson(this);

	@override
	String toString() {
		return jsonEncode(this);
	}
}
